import App from './App'
import uView from 'uview-ui' // 引入全局uView
import store from "./store/index.js"
// import API from './network/api.js'


// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
Vue.prototype.$store = store
// Vue.prototype.$api = API
Vue.use(uView)

App.mpType = 'app'
const app = new Vue({
    ...App,
	store
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif